
<!-- indexer::stop -->
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>

<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>

<ul class="level_1"><?php foreach ($this->items as $year=>$months): ?> 
  <li class="year submenu"><?php echo $year; ?> 
  <ul class="level_2"><?php foreach ($months as $month): if($month['isActive']): ?> 
    <li class="active<?php if ($month['class']): ?> <?php echo $month['class']; endif; ?>"><p class="active"><?php echo $month['link']; ?><?php if ($this->showQuantity): ?> (<?php echo $month['quantity']; ?>)<?php endif; ?></p></li><?php else: ?> 
    <li<?php if ($month['class']): ?> class="<?php echo $month['class']; ?>"<?php endif; ?>><a href="<?php echo $month['href']; ?>" title="<?php echo $month['title']; ?>"><?php echo $month['link']; ?><?php if ($this->showQuantity): ?> (<?php echo $month['quantity']; ?>)<?php endif; ?></a></li><?php endif; endforeach; ?> 
  </ul>
  </li><?php endforeach; ?> 
</ul>

</div>
<!-- indexer::continue -->
